#pragma once

//writes to log file when Flush() is called or when instance is destroyed
class LogFile
{
public:
	LogFile();
	~LogFile();
	void Log(const string& line);
	void Flush();
private:
	
	int GetFileSize(const string& filename);
	string logFilePath;
	string logBuffer;
};